<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>hello world</title>
    <script src="../libs/vue/2.6.11/vue.min.js"></script>
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"></link>
    <script src="https://unpkg.com/element-ui/lib/http.js"></script>
</head>
<body>
<div id="app">
</div>
<script>
    var vm = new Vue({
        el: '#app',
        components:{},
        template: '<el-select v-model="value" placeholder="请选择">\n' +
            '            <el-option\n' +
            '                    v-for="item in options"\n' +
            '                    :key="item.value"\n' +
            '                    :label="item.label"\n' +
            '                    :value="item.value">\n' +
            '            </el-option>\n' +
            '        </el-select>',
        data: {
            options: [{
                value: '选项1',
                label: '黄金糕'
            }, {
                value: '选项2',
                label: '双皮奶'
            }, {
                value: '选项3',
                label: '蚵仔煎'
            }, {
                value: '选项4',
                label: '龙须面'
            }, {
                value: '选项5',
                label: '北京烤鸭'
            }],
            value: ''
        }
    })
</script>
</body>
</html>